package com.yanqu.road.entity.config.vehicle;

import com.yanqu.road.utils.property.Property;

import java.util.ArrayList;
import java.util.List;

public class VehicleInfo {

	private int id;

	private int quality;

	private int defaultSkillCount;

	private int upgradeConsumeCount;

	private long qualification;

	private long addQualification;

	private Property recycleReward;

	private List<Integer> studyTypeList = new ArrayList<>();

	private boolean canBreak;

	private boolean canRecycle;

	/**
	 * 组合编号
	 */
	private int combId;

	/**
	 * 魂力技能
	 */
	private int bonePowerSkill;


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getQuality() {
		return quality;
	}

	public void setQuality(int quality) {
		this.quality = quality;
	}

	public int getDefaultSkillCount() {
		return defaultSkillCount;
	}

	public void setDefaultSkillCount(int defaultSkillCount) {
		this.defaultSkillCount = defaultSkillCount;
	}

	public int getUpgradeConsumeCount() {
		return upgradeConsumeCount;
	}

	public void setUpgradeConsumeCount(int upgradeConsumeCount) {
		this.upgradeConsumeCount = upgradeConsumeCount;
	}

	public long getQualification() {
		return qualification;
	}

	public void setQualification(long qualification) {
		this.qualification = qualification;
	}

	public long getAddQualification() {
		return addQualification;
	}

	public void setAddQualification(long addQualification) {
		this.addQualification = addQualification;
	}

	public Property getRecycleReward() {
		return recycleReward;
	}

	public void setRecycleReward(Property recycleReward) {
		this.recycleReward = recycleReward;
	}

	public List<Integer> getStudyTypeList() {
		return studyTypeList;
	}

	public void setStudyTypeList(List<Integer> studyTypeList) {
		this.studyTypeList = studyTypeList;
	}

	public boolean hasStudyType(int studyType){
		return studyTypeList.contains(studyType);
	}

	public int getRecycleStudyType(){
		return studyTypeList.get(0);
	}

	public boolean isCanRecycle() {
		return canRecycle;
	}

	public void setCanRecycle(boolean canRecycle) {
		this.canRecycle = canRecycle;
	}

	public boolean isCanBreak() {
		return canBreak;
	}

	public void setCanBreak(boolean canBreak) {
		this.canBreak = canBreak;
	}

	public int getCombId() {
		return combId;
	}

	public void setCombId(int combId) {
		this.combId = combId;
	}

	public int getBonePowerSkill() {
		return bonePowerSkill;
	}

	public void setBonePowerSkill(int bonePowerSkill) {
		this.bonePowerSkill = bonePowerSkill;
	}
}
